<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单的显示</title>
</head>
<body>
<form action="https://www.baidu.com" method="post">
    <input type="hidden" name="action" value="login">
    <h1 align="center">用户注册</h1>
    <table align="center">
        <tr>
            <td>用户名称：</td>
            <td><input name="username" type="text" value="默认值"/></td>
        </tr>
        <tr>
            <td>用户密码：</td>
            <td><input name="psw" type="password" value="abc" maxlength="6"/></td>
        </tr>
        <tr>
            <td>确认密码：</td>
            <td><input name="confirmpsw" type="password" value="abc" maxlength="6"/></td>
        </tr>
        <tr>
            <td>性别：</td>
            <td><input type="radio" name="gender" value="male" checked="checked"/>男
                <input type="radio" name="gender" value="female"/>女
            </td>
        </tr>
        <tr>
            <td>兴趣爱好：</td>
            <td><input name="hobby" type="checkbox" value="Java" checked="checked">Java
                <input name="hobby" type="checkbox" value="CSharp">C#
                <input name="hobby" type="checkbox" value="JavaScript">JavaScript
            </td>
        </tr>
        <tr>
            <td>国籍：</td>
            <td>
                <select name="nationality">
                    <option value="none">--请选择国籍--</option>
                    <option value="China" selected="selected">中国</option>
                    <option value="America">美国</option>
                    <option value="Japan">日本</option>
                    <option value="Russia">俄罗斯</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>自我评价：</td>
            <td><textarea name="desc" rows="10" cols="20">默认值</textarea></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="reset">
                <input type="submit">
                <input type="button" value="按钮">
                <input type="file">
                <input type="hidden" name="hidden01" value="hidden01Value">
            </td>
        </tr>
    </table>
</form>
</body>
</html>